<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        h1{
            color: red;
        }
    </style>
</head>
<body>
<!-- 
    <
    >
    <=
    >=
    ==
    ===        严格相等运算
    !=
    !==        严格不相等运算
  -->
    
    <h1>比较运算符返回值是一个布尔类型</h1>
    <script>
        var num1=10;
        var num2=20;
        console.log(num1>num2);//false 
        var num3=5;
        var num4='5';
        console.log(num3 == num4); //true
        console.log(num3 === num4); //false  严格比较，数值本身是否相同，类型本身是否相同

    </script>
</body>
</html>